package com.wonders.hisdoctor.station.project.allergy.service;

import com.wonders.hisdoctor.station.project.base.domain.PatAllergy;
import org.springframework.web.bind.annotation.RequestParam;

import java.util.List;

/**
 * @author zhaogongming
 * @date 2021-03-22
 **/
public interface IAllergyService {

    /**
     * 保存
     *
     * @param entity
     * @return
     */
    Integer save(PatAllergy entity);

    /**
     * 作废
     * @param entity
     * @return
     */
    Integer delete(PatAllergy entity);

    /**
     * 历史过敏信息
     * @param patientId
     * @return
     */
    List<PatAllergy> selectHistory(String patientId);
}
